package com.lleice.service.dto;

import java.io.Serializable;

import com.fasterxml.jackson.annotation.JsonIgnore;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;
import lombok.experimental.Accessors;

/**
 * 
 * @author lizihao
 *
 */
@Getter
@Setter
@Accessors(chain = true)
@ApiModel("路由树结构")
public class ResourceRoleTreeDto implements Serializable{

	/**
	 * 
	 */
	private static final long serialVersionUID = -4006911712375639920L;

	@ApiModelProperty(value = "资源id")
	private String id;
	
	@ApiModelProperty(value = "资源编码")
	private String resourceCode;
	
	@ApiModelProperty(value = "资源名称")
	private String resourceName;
	
	@ApiModelProperty(value = "资源路由")
	private String resourcePath;
	
	@ApiModelProperty(value = "1-菜单,2-按钮")
	private Integer resourceType;
	
	@ApiModelProperty(value = "父资源id")
    private String parentId;
	
    @ApiModelProperty(value = "排序")
    @JsonIgnore
    private Integer sortNum;
}
